﻿#建议保存编码为：bom头 + utf8

$private:k4t_client_的磁盘pid = & "${PSScriptRoot}/k4t_client_crontab_读pid.ps1"
if ( ($private:k4t_client_的磁盘pid -eq $null) -or ($private:k4t_client_的磁盘pid -eq '') )
{

}
else
{
	$private:k4t_client_的进程 = Get-Process -Id $private:k4t_client_的磁盘pid
}

if ($private:k4t_client_的进程 -eq $null)
{

}
else
{
	if ( ($private:k4t_client_的进程.ProcessName -eq 'pwsh') -or ($private:k4t_client_的进程.ProcessName -eq 'powershell') )
	{
		Stop-Process -Id $private:k4t_client_的进程
	}
}

exit 0
